package com.lcf.system.dto.role;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 角色(SysRole)表实体类
 *
 * @author lcf
 * @since 2025-02-25 12:28:31
 */
@Data
@NoArgsConstructor
public class SysRoleDTO {
    @Schema(description = "角色名称")
    @NotBlank(message = "角色名称不能为空")
    private String roleName;

    @Schema(description = "角色编码")
    @NotBlank(message = "角色编码不能为空")
    private String roleCode;
}

